/** Created by CUIJA on 05-19-2017.*/

var angular = require('angular');

var core = require('../core');

var authRoutes = require('./routes/auth.routes');

var authMenuConfig = require('./configs/menu.config');

var authService=require('./auth.service');

var authController=require('./auth.controller');
var registController = require('./layouts/register/regist.controller');

const moduleName = 'auth';

angular.module(moduleName, [
  core
])
  .config(authRoutes)
  .factory('authService', authService)
  .controller('authController', authController)
  .controller('registController',registController)
  .run(authMenuConfig)
;


module.exports = moduleName;
